home *** CD-ROM | disk | FTP | other *** search
/ PC Answers 1998 January / PC Answers Issue 49 Cover CD January 1998.iso / Apps / Director / DATA.Z / Simple Child Object.dir / 00002_StartMovie Handlers.ls < prev    next >
Encoding:
Text File  |  1997-05-10  |  469 b   |  24 lines

  1. on prepareMovie
  2.   puppetSprite(2, 1)
  3.   set the visible of sprite 3 to 1
  4.   set the visible of sprite 4 to 1
  5.   repeat with N = 5 to 8
  6.     set the visible of sprite N to 0
  7.   end repeat
  8. end
  9.  
  10. on createBall
  11.   global ball1
  12.   set ball1 to 0
  13.   set ball1 to new(script "Ball Parent Script")
  14.   set the visible of sprite 3 to 0
  15.   set the visible of sprite 4 to 0
  16.   repeat with N = 5 to 8
  17.     set the visible of sprite N to 1
  18.   end repeat
  19. end
  20.  
  21. on stopMovie
  22.   puppetSprite(2, 0)
  23. end
  24.